package com.lwm.base;

/**
 * @author liweimin
 * @date 2020/9/23 9:46
 * @description
 */
public class MethodeOverrideTest {
    String getName(String string){
        return string;
    }
    String getName(String s, String w){
        return s+w;
    }
    String getName(int i){
        return "3";
    }
    public static void main(String[] args) {
        MethodeOverrideTest methodeOverrideTest = new MethodeOverrideTest();
        String d = methodeOverrideTest.getName("d");
        String name = methodeOverrideTest.getName("s", "d");
        String name1 = methodeOverrideTest.getName(4);
    }
}
